import java.util.HashMap;
import java.util.Map;

/**
 * 定义和初始化静态变量
 */
public class RomanNumStatic {
    //key-romanNuum value-value
    public final static HashMap<Character, Object> romanNumMap = new HashMap<Character,Object>();
     static {
         romanNumMap.put('I', 1);
         romanNumMap.put('V', 5);
         romanNumMap.put('X', 10);
         romanNumMap.put('L', 50);
         romanNumMap.put('C', 100);
         romanNumMap.put('D', 500);
         romanNumMap.put('M', 1000);
    }
    //key-word value-romanNum
    public static Map<String, Character> scoreMap = new HashMap<String, Character>();
    //key-unit value-num
    public static Map<String, Float> unitMap = new HashMap<String, Float>();
}
